
package vehialpes.listarTalleres;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.1.3
 * Sat Dec 03 08:33:34 COT 2011
 * Generated source version: 2.1.3
 * 
 */

public final class ListaTalleres_ListaTalleresPort_Client {

    private static final QName SERVICE_NAME = new QName("http://serviciosWeb.vehialpes.uniandes.edu.co/", "ListaTalleresService");

    private ListaTalleres_ListaTalleresPort_Client() {
    }

    public static void main(String args[]) throws Exception {
        URL wsdlURL = ListaTalleresService.WSDL_LOCATION;
        if (args.length > 0) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        ListaTalleresService ss = new ListaTalleresService(wsdlURL, SERVICE_NAME);
        ListaTalleres port = ss.getListaTalleresPort();  
        
        {
        System.out.println("Invoking consultaTalleres...");
        java.lang.String _consultaTalleres_ubicacion = "";
        int _consultaTalleres_calificacion = 0;
        java.util.List<vehialpes.listarTalleres.Taller> _consultaTalleres__return = port.consultaTalleres(_consultaTalleres_ubicacion, _consultaTalleres_calificacion);
        System.out.println("consultaTalleres.result=" + _consultaTalleres__return);


        }
        {
        System.out.println("Invoking listarTalleres...");
        java.util.List<vehialpes.listarTalleres.Taller> _listarTalleres__return = port.listarTalleres();
        System.out.println("listarTalleres.result=" + _listarTalleres__return);


        }

        System.exit(0);
    }

}
